package com.aaa.entity;

public class Goods {
    private Integer gId;
    private String goodsId;
    private String goodsName;
    private Double retailPrice;
    private Double tradePrice;
    private String goodsPhoto;
    private Integer goodsState;
    private Integer goodsCount;
    private String goodsColor;

    private Integer goodsSizeId;
    private Integer categoryId;

    private GoodsSize goodsSize;
    private Category category;

    public Integer getGoodsSizeId() {
        return goodsSizeId;
    }

    public void setGoodsSizeId(Integer goodsSizeId) {
        this.goodsSizeId = goodsSizeId;
    }

    public Integer getCategoryId() {
        return categoryId;
    }

    public void setCategoryId(Integer categoryId) {
        this.categoryId = categoryId;
    }

    public String getGoodsColor() {
        return goodsColor;
    }

    public void setGoodsColor(String goodsColor) {
        this.goodsColor = goodsColor;
    }

    public Integer getgId() {
        return gId;
    }

    public void setgId(Integer gId) {
        this.gId = gId;
    }

    public String getGoodsId() {
        return goodsId;
    }

    public void setGoodsId(String goodsId) {
        this.goodsId = goodsId;
    }

    public String getGoodsName() {
        return goodsName;
    }

    public void setGoodsName(String goodsName) {
        this.goodsName = goodsName;
    }

    public Double getRetailPrice() {
        return retailPrice;
    }

    public void setRetailPrice(Double retailPrice) {
        this.retailPrice = retailPrice;
    }

    public Double getTradePrice() {
        return tradePrice;
    }

    public void setTradePrice(Double tradePrice) {
        this.tradePrice = tradePrice;
    }

    public String getGoodsPhoto() {
        return goodsPhoto;
    }

    public void setGoodsPhoto(String goodsPhoto) {
        this.goodsPhoto = goodsPhoto;
    }

    public Integer getGoodsState() {
        return goodsState;
    }

    public void setGoodsState(Integer goodsState) {
        this.goodsState = goodsState;
    }

    public Integer getGoodsCount() {
        return goodsCount;
    }

    public void setGoodsCount(Integer goodsCount) {
        this.goodsCount = goodsCount;
    }

    public GoodsSize getGoodsSize() {
        return goodsSize;
    }

    public void setGoodsSize(GoodsSize goodsSize) {
        this.goodsSize = goodsSize;
    }

    public Category getCategory() {
        return category;
    }

    public void setCategory(Category category) {
        this.category = category;
    }

    @Override
    public String toString() {
        return "Goods{" +
                "gId=" + gId +
                ", goodsId='" + goodsId + '\'' +
                ", goodsName='" + goodsName + '\'' +
                ", retailPrice=" + retailPrice +
                ", tradePrice=" + tradePrice +
                ", goodsPhoto='" + goodsPhoto + '\'' +
                ", goodsState=" + goodsState +
                ", goodsCount=" + goodsCount +
                ", goodsColor='" + goodsColor + '\'' +
                ", goodsSizeId=" + goodsSizeId +
                ", categoryId=" + categoryId +
                ", goodsSize=" + goodsSize +
                ", category=" + category +
                '}';
    }
}
